package com.cskaoyan.app.mapper;

import com.cskaoyan.app.bean.po.MarketRoleExample;
import com.cskaoyan.app.bean.vo.adminVo.AdminRoleOptVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MarketRoleOptionMapper {

    void insert(@Param("opt") AdminRoleOptVo adminRoleOptVo);

    void delOptionData(@Param("id") Integer id);

    List<AdminRoleOptVo> selectAllByDel(@Param("del") boolean b);

    void updPermissionData(@Param("api")Integer[] apiIList, @Param("roleId") String id);

    String[] selApisByRoleId(Integer id);
}
